# Create task here
from __future__ import absolute_import, unicode_literals
from celery import shared_task
import time


@shared_task
def add(x, y):
    print("执行加法操作中")
    time.sleep(30)
    return x + y


@shared_task
def mul(x, y):
    print("执行乘法操作中")
    time.sleep(30)
    return x + y


@shared_task
def tell():
    print("我的心在此等待30秒")
    time.sleep(30)
    return "My heart is in your hands"
